﻿
@{
    Layout = null;
}


<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href="~/layui/css/layui.css" rel="stylesheet" />
    <link href="~/layuimini/css/public.css" rel="stylesheet" />
    <style>
        span {
            float: left;
            display: inline-block;
        }

        input {
            border: 0 none;
        }

        .span1 {
            width: 150px;
            position: relative;
        }

        .input {
            height: 20px;
            width: 140px;
            padding: 10px 5px;
            position: absolute;
            top: 0;
        }

        .button {
            height: 38px;
            width:40px;
        }
    </style>
</head>
<body>
    <div class="layuimini-container">
        <div class="layuimini-main">


            <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                <legend>计划单</legend>
            </fieldset>

            <form class="layui-form" action="" lay-filter="example">
                <input type="hidden" name="ID" value="0" />
                <input type="hidden" name="BillNameID" value="" id="BillNameID" />
                <div class="layui-form-item">

                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit="" lay-filter="demo1" id="TiJiao1">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">计划号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Code" lay-verify="required" autocomplete="off" class="layui-input" id="Code">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">产品名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="GoodsID" value="" id="GoodsID"/>
                                    <input type="text" name="GoodsName" lay-verify="required" autocomplete="off" class="layui-input" id="GoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('g',3)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">产品型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="GoodsModel" lay-verify="required" autocomplete="off" class="layui-input" id="GoodsModel" disabled="disabled">
                        </div>
                    </div>

                    <div class="layui-inline">
                        <label class="layui-form-label">批次号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Number"  autocomplete="off" class="layui-input" id="Number">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">合同编号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="HeTongCode"  autocomplete="off" class="layui-input" id="HeTongCode">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">接单日期</label>
                        <div class="layui-input-inline">
                            <input type="text" name="OrderDate" id="OrderDate" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input" readonly="readonly">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">需方代号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="XuFangDaiHao"  autocomplete="off" class="layui-input" id="XuFangDaiHao">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">质量等级</label>
                        <div class="layui-input-inline">
                            <select name="DengJi" lay-search id="DengJI">
                                <option value="">请选择</option>
                                @Html.Raw(ViewBag.DengJi)
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">封装外形</label>
                        <div class="layui-input-inline">
                            <input type="text" name="WaiXing" autocomplete="off" class="layui-input" id="WaiXing">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">合同数量</label>
                        <div class="layui-input-inline">
                            <input type="text" name="HeTongQty" lay-verify="required|number" autocomplete="off" class="layui-input" id="HeTongQty">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">@ViewBag.JiHuaQtyName</label>
                        <div class="layui-input-inline">
                            <input type="text" name="JiHuaQty" lay-verify="required|number" autocomplete="off" class="layui-input" id="JiHuaQty">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">交付日期</label>
                        <div class="layui-input-inline">
                            <input type="text" name="JiaoFuDate" id="JiaoFuDate" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input" readonly="readonly">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">详细规范号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="GuiFanHao" autocomplete="off" class="layui-input" id="GuiFanHao">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">监制/验收</label>
                        <div class="layui-input-inline">
                            <input type="text" name="JianZhiYanShou" autocomplete="off" class="layui-input" id="JianZhiYanShou">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">文件编号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="WenJianBianHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">其它要求</label>
                        <div class="layui-input-inline">
                            <input type="text" name="QiTa" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title" >
                    <legend style="font-size:15px;">管座</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="ZhuoGoodsID" value="" id="ZhuoGoodsID"/>
                                    <input type="text" name="ZhuoGoodsName" autocomplete="off" class="layui-input" id="ZhuoGoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('gz',1)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="ZhuoGoodsModel" autocomplete="off" class="layui-input" id="ZhuoGoodsModel" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">比例数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="ZhuoQty" id="ZhuoQty" lay-verify="number"  autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">领料数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="ZhuoLingQty" id="ZhuoLingQty" lay-verify="number"  autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">货源号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="ZhuoHuoYuanHao" id="ZhuoHuoYuanHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">检验批号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="ZhuoJianYanPiHao" id="ZhuoJianYanPiHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">制造厂商</label>
                        <div class="layui-input-inline">
                            <input type="text" name="ZhuoZhiZhaoChangShang" id="ZhuoZhiZhaoChangShang" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend style="font-size:15px;">管帽</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="MaoGoodsID" value="" id="MaoGoodsID" />
                                    <input type="text" name="MaoGoodsName"  autocomplete="off" class="layui-input" id="MaoGoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('gm',1)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="MaoGoodsModel"  autocomplete="off" class="layui-input" id="MaoGoodsModel" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">比例数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="MaoQty" id="MaoQty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">领料数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="MaoLingQty" id="MaoLingQty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">货源号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="MaoHuoYuanHao" id="MaoHuoYuanHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">检验批号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="MaoJianYanPiHao" id="MaoJianYanPiHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">制造厂商</label>
                        <div class="layui-input-inline">
                            <input type="text" name="MaoZhiZhaoChangShang" id="MaoZhiZhaoChangShang" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend style="font-size:15px;">芯片1</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="Xin1GoodsID" value="" id="Xin1GoodsID"/>
                                    <input type="text" name="Xin1GoodsName"  autocomplete="off" class="layui-input" id="Xin1GoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('x1',1)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1GoodsModel"  autocomplete="off" class="layui-input" id="Xin1GoodsModel" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">比例数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1Qty" id="Xin1Qty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">领料数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1LingQty" id="Xin1LingQty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">货源号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1HuoYuanHao" id="Xin1HuoYuanHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">检验批号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1JianYanPiHao" id="Xin1JianYanPiHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">制造厂商</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1ZhiZhaoChangShang" id="Xin1ZhiZhaoChangShang" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">芯片面积</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1XinPianMianJi" id="Xin1XinPianMianJi" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">正面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1ZhengMianJinShu" id="Xin1ZhengMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">背面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin1BeiMianJinShu" id="Xin1BeiMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>


                <fieldset class="layui-elem-field layui-field-title">
                    <legend style="font-size:15px;">芯片2</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="Xin2GoodsID" value="" id="Xin2GoodsID" />
                                    <input type="text" name="Xin2GoodsName"  autocomplete="off" class="layui-input" id="Xin2GoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('x2',1)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2GoodsModel"  autocomplete="off" class="layui-input" id="Xin2GoodsModel" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">比例数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2Qty" id="Xin2Qty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">领料数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2LingQty" id="Xin2LingQty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">货源号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2HuoYuanHao" id="Xin2HuoYuanHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">检验批号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2JianYanPiHao" id="Xin2JianYanPiHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">制造厂商</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2ZhiZhaoChangShang" id="Xin2ZhiZhaoChangShang" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">芯片面积</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2XinPianMianJi" id="Xin2XinPianMianJi" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">正面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2ZhengMianJinShu" id="Xin2ZhengMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">背面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin2BeiMianJinShu" id="Xin2BeiMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>


                <fieldset class="layui-elem-field layui-field-title">
                    <legend style="font-size:15px;">芯片3</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="Xin3GoodsID" value="" id="Xin3GoodsID"/>
                                    <input type="text" name="Xin3GoodsName" lay-verify="" autocomplete="off" class="layui-input" id="Xin3GoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('x3',1)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3GoodsModel" lay-verify="" autocomplete="off" class="layui-input" id="Xin3GoodsModel" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">比例数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3Qty" id="Xin3Qty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">领料数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3LingQty" id="Xin3LingQty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">货源号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3HuoYuanHao" id="Xin3HuoYuanHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">检验批号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3JianYanPiHao" id="Xin3JianYanPiHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">制造厂商</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3ZhiZhaoChangShang" id="Xin3ZhiZhaoChangShang" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">芯片面积</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3XinPianMianJi" id="Xin3XinPianMianJi" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">正面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3ZhengMianJinShu" id="Xin3ZhengMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">背面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin3BeiMianJinShu" id="Xin3BeiMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>


                <fieldset class="layui-elem-field layui-field-title">
                    <legend style="font-size:15px;">芯片4</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="Xin4GoodsID" value="" id="Xin4GoodsID"/>
                                    <input type="text" name="Xin4GoodsName" lay-verify="" autocomplete="off" class="layui-input" id="Xin4GoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('x4',1)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4GoodsModel" lay-verify="" autocomplete="off" class="layui-input" id="Xin4GoodsModel" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">比例数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4Qty" id="Xin4Qty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">领料数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4LingQty" id="Xin4LingQty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">货源号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4HuoYuanHao" id="Xin4HuoYuanHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">检验批号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4JianYanPiHao" id="Xin4JianYanPiHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">制造厂商</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4ZhiZhaoChangShang" id="Xin4ZhiZhaoChangShang" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">芯片面积</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4XinPianMianJi" id="Xin4XinPianMianJi" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">正面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4ZhengMianJinShu" id="Xin4ZhengMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">背面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin4BeiMianJinShu" id="Xin4BeiMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>


                <fieldset class="layui-elem-field layui-field-title">
                    <legend style="font-size:15px;">芯片5</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="Xin5GoodsID" value="" id="Xin5GoodsID" />
                                    <input type="text" name="Xin5GoodsName" lay-verify="" autocomplete="off" class="layui-input" id="Xin5GoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('x5',1)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5GoodsModel" lay-verify="" autocomplete="off" class="layui-input" id="Xin5GoodsModel" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">比例数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5Qty" id="Xin5Qty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">领料数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5LingQty" id="Xin5LingQty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">货源号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5HuoYuanHao" id="Xin5HuoYuanHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">检验批号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5JianYanPiHao" id="Xin5JianYanPiHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">制造厂商</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5ZhiZhaoChangShang" id="Xin5ZhiZhaoChangShang" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">芯片面积</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5XinPianMianJi" id="Xin5XinPianMianJi" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">正面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5ZhengMianJinShu" id="Xin5ZhengMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">背面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin5BeiMianJinShu" id="Xin5BeiMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend style="font-size:15px;">芯片6</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <div class="box">
                                <span class="span1">
                                    <input type="hidden" name="Xin6GoodsID" value="" id="Xin6GoodsID" />
                                    <input type="text" name="Xin6GoodsName" lay-verify="" autocomplete="off" class="layui-input" id="Xin6GoodsName" disabled="disabled">
                                </span>
                                <span class="span2">
                                    <input type="button" value="选择" class="button" onclick="ShowSelectGoods('x6',1)">
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">型号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6GoodsModel" lay-verify="" autocomplete="off" class="layui-input" id="Xin6GoodsModel" disabled="disabled">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">比例数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6Qty" id="Xin6Qty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">领料数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6LingQty" id="Xin6LingQty" lay-verify="number" value="0" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">货源号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6HuoYuanHao" id="Xin6HuoYuanHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">检验批号</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6JianYanPiHao" id="Xin6JianYanPiHao" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">制造厂商</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6ZhiZhaoChangShang" id="Xin6ZhiZhaoChangShang" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">芯片面积</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6XinPianMianJi" id="Xin6XinPianMianJi" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">正面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6ZhengMianJinShu" id="Xin6ZhengMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">背面金属</label>
                        <div class="layui-input-inline">
                            <input type="text" name="Xin6BeiMianJinShu" id="Xin6BeiMianJinShu" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit="" lay-filter="demo1" id="TiJiao2">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>

            </form>
        </div>
    </div>

    <script src="~/layui/layui.js"></script>
    <script src="~/scripts/jquery-1.4.4.min.js"></script>
    <!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
    <script>
        layui.use(['form', 'layedit', 'laydate', 'jquery'], function () {
            var form = layui.form
                , layer = layui.layer
                , layedit = layui.layedit
                , laydate = layui.laydate
                , $ = layui.jquery
            //日期

            laydate.render({
                elem: '#OrderDate'
                , trigger: 'click'
            });
            laydate.render({
                elem: '#JiaoFuDate'
                , trigger: 'click'
            });
            //监听提交
            form.on('submit(demo1)', function (data) {
                $('#TiJiao1').attr('disabled', 'disabled');
                $.ajax({
                    url: '@Url.Action("JiHuaOrderEditAsync", "Commons")',
                    type: 'post',
                    dataType: 'json',
                    data: data.field,
                    success: function (data) {
                        console.log(data);
                        //Info,Success,Warning,Error
                        var type = data.Type;
                        if (type == 1) {

                            layer.msg(data.Content, { icon: 6, time: 2000 },
                                function () {
                                    var index = parent.layer.getFrameIndex(window.name);
                                    parent.layer.close(index);
                                });
                            $('#ID').val(data.data);
                            $('#TiJiao1').removeAttr('disabled');
                        } else {
                            layer.alert(data.Content, { icon: 5 });
                            $('#TiJiao1').removeAttr('disabled');
                        }
                    }
                });
                //layer.alert(JSON.stringify(data.field), {
                //    title: '最终的提交信息'
                //})
                return false;
            });
            //表单初始赋值
            form.val('example', {
                "ID": "@ViewBag.model.ID"
                    , "BillNameID": "@ViewBag.BillNameID"
                    , "Code": "@ViewBag.model.Code"
                    , "GoodsID": "@ViewBag.model.GoodsID"
                    , "GoodsName": "@ViewBag.model.GoodsName"
                    , "GoodsModel": "@ViewBag.model.GoodsModel"
                    , "Number": "@ViewBag.model.Number"
                    , "HeTongCode": "@ViewBag.model.HeTongCode"
                    , "OrderDate": "@ViewBag.model.OrderDate"
                    , "XuFangDaiHao": "@ViewBag.model.XuFangDaiHao"
                    , "DengJi": "@ViewBag.model.DengJi"
                    , "WaiXing": "@ViewBag.model.WaiXing"
                    , "HeTongQty": "@ViewBag.model.HeTongQty"
                    , "JiHuaQty": "@ViewBag.model.JiHuaQty"
                    , "GuiFanHao": "@ViewBag.model.GuiFanHao"
                    , "JianZhiYanShou": "@ViewBag.model.JianZhiYanShou"
                    , "WenJianBianHao": "@ViewBag.model.WenJianBianHao"
                    , "QiTa": "@ViewBag.model.QiTa"
                    , "JiaoFuDate":"@ViewBag.model.JiaoFuDate"



                    , "ZhuoGoodsID": "@ViewBag.model.ZhuoGoodsID"
                    , "ZhuoGoodsName": "@ViewBag.model.ZhuoGoodsName"
                    , "ZhuoGoodsModel": "@ViewBag.model.ZhuoGoodsModel"
                    , "ZhuoQty": "@ViewBag.model.ZhuoQty"
                    , "ZhuoLingQty": "@ViewBag.model.ZhuoLingQty"
                    , "ZhuoHuoYuanHao": "@ViewBag.model.ZhuoHuoYuanHao"
                    , "ZhuoJianYanPiHao": "@ViewBag.model.ZhuoJianYanPiHao"
                    , "ZhuoZhiZhaoChangShang": "@ViewBag.model.ZhuoZhiZhaoChangShang"

                    , "MaoGoodsID": "@ViewBag.model.MaoGoodsID"
                    , "MaoGoodsName": "@ViewBag.model.MaoGoodsName"
                    , "MaoGoodsModel": "@ViewBag.model.MaoGoodsModel"
                    , "MaoQty": "@ViewBag.model.MaoQty"
                    , "MaoLingQty": "@ViewBag.model.MaoLingQty"
                    , "MaoHuoYuanHao": "@ViewBag.model.MaoHuoYuanHao"
                    , "MaoJianYanPiHao": "@ViewBag.model.MaoJianYanPiHao"
                    , "MaoZhiZhaoChangShang": "@ViewBag.model.MaoZhiZhaoChangShang"

                    , "Xin1GoodsID": "@ViewBag.model.Xin1GoodsID"
                    , "Xin1GoodsName": "@ViewBag.model.Xin1GoodsName"
                    , "Xin1GoodsModel": "@ViewBag.model.Xin1GoodsModel"
                    , "Xin1Qty": "@ViewBag.model.Xin1Qty"
                    , "Xin1LingQty": "@ViewBag.model.Xin1LingQty"
                    , "Xin1HuoYuanHao": "@ViewBag.model.Xin1HuoYuanHao"
                    , "Xin1JianYanPiHao": "@ViewBag.model.Xin1JianYanPiHao"
                    , "Xin1ZhiZhaoChangShang": "@ViewBag.model.Xin1ZhiZhaoChangShang"
                    , "Xin1XinPianMianJi": "@ViewBag.model.Xin1XinPianMianJi"
                    , "Xin1ZhengMianJinShu": "@ViewBag.model.Xin1ZhengMianJinShu"
                    , "Xin1BeiMianJinShu": "@ViewBag.model.Xin1BeiMianJinShu"

                    , "Xin2GoodsID": "@ViewBag.model.Xin2GoodsID"
                    , "Xin2GoodsName": "@ViewBag.model.Xin2GoodsName"
                    , "Xin2GoodsModel": "@ViewBag.model.Xin2GoodsModel"
                    , "Xin2Qty": "@ViewBag.model.Xin2Qty"
                    , "Xin2LingQty": "@ViewBag.model.Xin2LingQty"
                    , "Xin2HuoYuanHao": "@ViewBag.model.Xin2HuoYuanHao"
                    , "Xin2JianYanPiHao": "@ViewBag.model.Xin2JianYanPiHao"
                    , "Xin2ZhiZhaoChangShang": "@ViewBag.model.Xin2ZhiZhaoChangShang"
                    , "Xin2XinPianMianJi": "@ViewBag.model.Xin2XinPianMianJi"
                    , "Xin2ZhengMianJinShu": "@ViewBag.model.Xin2ZhengMianJinShu"
                    , "Xin2BeiMianJinShu": "@ViewBag.model.Xin2BeiMianJinShu"

                    , "Xin3GoodsID": "@ViewBag.model.Xin3GoodsID"
                    , "Xin3GoodsName": "@ViewBag.model.Xin3GoodsName"
                    , "Xin3GoodsModel": "@ViewBag.model.Xin3GoodsModel"
                    , "Xin3Qty": "@ViewBag.model.Xin3Qty"
                    , "Xin3LingQty": "@ViewBag.model.Xin3LingQty"
                    , "Xin3HuoYuanHao": "@ViewBag.model.Xin3HuoYuanHao"
                    , "Xin3JianYanPiHao": "@ViewBag.model.Xin3JianYanPiHao"
                    , "Xin3ZhiZhaoChangShang": "@ViewBag.model.Xin3ZhiZhaoChangShang"
                    , "Xin3XinPianMianJi": "@ViewBag.model.Xin3XinPianMianJi"
                    , "Xin3ZhengMianJinShu": "@ViewBag.model.Xin3ZhengMianJinShu"
                    , "Xin3BeiMianJinShu": "@ViewBag.model.Xin3BeiMianJinShu"

                    , "Xin4GoodsID": "@ViewBag.model.Xin4GoodsID"
                    , "Xin4GoodsName": "@ViewBag.model.Xin4GoodsName"
                    , "Xin4GoodsModel": "@ViewBag.model.Xin4GoodsModel"
                    , "Xin4Qty": "@ViewBag.model.Xin4Qty"
                    , "Xin4LingQty": "@ViewBag.model.Xin4LingQty"
                    , "Xin4HuoYuanHao": "@ViewBag.model.Xin4HuoYuanHao"
                    , "Xin4JianYanPiHao": "@ViewBag.model.Xin4JianYanPiHao"
                    , "Xin4ZhiZhaoChangShang": "@ViewBag.model.Xin4ZhiZhaoChangShang"
                    , "Xin4XinPianMianJi": "@ViewBag.model.Xin4XinPianMianJi"
                    , "Xin4ZhengMianJinShu": "@ViewBag.model.Xin4ZhengMianJinShu"
                    , "Xin4BeiMianJinShu": "@ViewBag.model.Xin4BeiMianJinShu"

                    , "Xin5GoodsID": "@ViewBag.model.Xin5GoodsID"
                    , "Xin5GoodsName": "@ViewBag.model.Xin5GoodsName"
                    , "Xin5GoodsModel": "@ViewBag.model.Xin5GoodsModel"
                    , "Xin5Qty": "@ViewBag.model.Xin5Qty"
                    , "Xin5LingQty": "@ViewBag.model.Xin5LingQty"
                    , "Xin5HuoYuanHao": "@ViewBag.model.Xin5HuoYuanHao"
                    , "Xin5JianYanPiHao": "@ViewBag.model.Xin5JianYanPiHao"
                    , "Xin5ZhiZhaoChangShang": "@ViewBag.model.Xin5ZhiZhaoChangShang"
                    , "Xin5XinPianMianJi": "@ViewBag.model.Xin5XinPianMianJi"
                    , "Xin5ZhengMianJinShu": "@ViewBag.model.Xin5ZhengMianJinShu"
                    , "Xin5BeiMianJinShu": "@ViewBag.model.Xin5BeiMianJinShu"

                    , "Xin6GoodsID": "@ViewBag.model.Xin6GoodsID"
                    , "Xin6GoodsName": "@ViewBag.model.Xin6GoodsName"
                    , "Xin6GoodsModel": "@ViewBag.model.Xin6GoodsModel"
                    , "Xin6Qty": "@ViewBag.model.Xin6Qty"
                    , "Xin6LingQty": "@ViewBag.model.Xin6LingQty"
                    , "Xin6HuoYuanHao": "@ViewBag.model.Xin6HuoYuanHao"
                    , "Xin6JianYanPiHao": "@ViewBag.model.Xin6JianYanPiHao"
                    , "Xin6ZhiZhaoChangShang": "@ViewBag.model.Xin6ZhiZhaoChangShang"
                    , "Xin6XinPianMianJi": "@ViewBag.model.Xin6XinPianMianJi"
                    , "Xin6ZhengMianJinShu": "@ViewBag.model.Xin6ZhengMianJinShu"
                    , "Xin6BeiMianJinShu": "@ViewBag.model.Xin6BeiMianJinShu"
            })

        });
        function ShowSelectGoods(back,type) {
            var index = layer.open({
                title: '选择产品',
                type: 2,
                shade: 0.2,
                maxmin: true,
                shadeClose: false,
                area: ['800px', '400px'],
                content: '@Url.Action("GoodsSelect", "BasicInfo")' + '?Back=' + back + '&TypeID='+type+'&BillNameID=@ViewBag.BillNameID',
            });
            layer.full(index);
            return false;
        }
        function selectgoods(id, code, name, model, back) {
            if (back == 'g') {
                $('#GoodsID').val(id);
                $('#GoodsName').val(name);
                $('#GoodsModel').val(model);
                $.ajax({
                    url: '@Url.Action("JiHuaOrderModelAsync", "Commons")',
                    type: 'post',
                    dataType: 'json',
                    data: {GoodsID:id,BillNameID:@ViewBag.BillNameID},
                    success: function (data) {
                        console.log(data);
                        //Info,Success,Warning,Error
                        var type = data.Type;
                        if (type == 1) {
                            $("#ZhuoGoodsID").val(data.Data.ZhuoGoodsID);
                            $("#ZhuoGoodsName").val(data.Data.ZhuoGoodsName);
                            $("#ZhuoGoodsModel").val(data.Data.ZhuoGoodsModel);
                            $("#ZhuoQty").val(data.Data.ZhuoQty);
                            $("#ZhuoLingQty").val(data.Data.ZhuoLingQty);
                            $("#ZhuoHuoYuanHao").val(data.Data.ZhuoHuoYuanHao);
                            $("#ZhuoJianYanPiHao").val(data.Data.ZhuoJianYanPiHao);
                            $("#ZhuoZhiZhaoChangShang").val(data.Data.ZhuoZhiZhaoChangShang);

                            $("#MaoGoodsID").val(data.Data.MaoGoodsID);
                            $("#MaoGoodsName").val(data.Data.MaoGoodsName);
                            $("#MaoGoodsModel").val(data.Data.MaoGoodsModel);
                            $("#MaoQty").val(data.Data.MaoQty);
                            $("#MaoLingQty").val(data.Data.MaoLingQty);
                            $("#MaoHuoYuanHao").val(data.Data.MaoHuoYuanHao);
                            $("#MaoJianYanPiHao").val(data.Data.MaoJianYanPiHao);
                            $("#MaoZhiZhaoChangShang").val(data.Data.MaoZhiZhaoChangShang);

                            $("#Xin1GoodsID").val(data.Data.Xin1GoodsID);
                            $("#Xin1GoodsName").val(data.Data.Xin1GoodsName);
                            $("#Xin1GoodsModel").val(data.Data.Xin1GoodsModel);
                            $("#Xin1Qty").val(data.Data.Xin1Qty);
                            $("#Xin1LingQty").val(data.Data.Xin1LingQty);
                            $("#Xin1HuoYuanHao").val(data.Data.Xin1HuoYuanHao);
                            $("#Xin1JianYanPiHao").val(data.Data.Xin1JianYanPiHao);
                            $("#Xin1ZhiZhaoChangShang").val(data.Data.Xin1ZhiZhaoChangShang);
                            $("#Xin1XinPianMianJi").val(data.Data.Xin1XinPianMianJi);
                            $("#Xin1ZhengMianJinShu").val(data.Data.Xin1ZhengMianJinShu);
                            $("#Xin1BeiMianJinShu").val(data.Data.Xin1BeiMianJinShu);

                            $("#Xin2GoodsID").val(data.Data.Xin2GoodsID);
                            $("#Xin2GoodsName").val(data.Data.Xin2GoodsName);
                            $("#Xin2GoodsModel").val(data.Data.Xin2GoodsModel);
                            $("#Xin2Qty").val(data.Data.Xin2Qty);
                            $("#Xin2LingQty").val(data.Data.Xin2LingQty);
                            $("#Xin2HuoYuanHao").val(data.Data.Xin2HuoYuanHao);
                            $("#Xin2JianYanPiHao").val(data.Data.Xin2JianYanPiHao);
                            $("#Xin2ZhiZhaoChangShang").val(data.Data.Xin2ZhiZhaoChangShang);
                            $("#Xin2XinPianMianJi").val(data.Data.Xin2XinPianMianJi);
                            $("#Xin2ZhengMianJinShu").val(data.Data.Xin2ZhengMianJinShu);
                            $("#Xin2BeiMianJinShu").val(data.Data.Xin2BeiMianJinShu);

                            $("#Xin3GoodsID").val(data.Data.Xin3GoodsID);
                            $("#Xin3GoodsName").val(data.Data.Xin3GoodsName);
                            $("#Xin3GoodsModel").val(data.Data.Xin3GoodsModel);
                            $("#Xin3Qty").val(data.Data.Xin3Qty);
                            $("#Xin3LingQty").val(data.Data.Xin3LingQty);
                            $("#Xin3HuoYuanHao").val(data.Data.Xin3HuoYuanHao);
                            $("#Xin3JianYanPiHao").val(data.Data.Xin3JianYanPiHao);
                            $("#Xin3ZhiZhaoChangShang").val(data.Data.Xin3ZhiZhaoChangShang);
                            $("#Xin3XinPianMianJi").val(data.Data.Xin3XinPianMianJi);
                            $("#Xin3ZhengMianJinShu").val(data.Data.Xin3ZhengMianJinShu);
                            $("#Xin3BeiMianJinShu").val(data.Data.Xin3BeiMianJinShu);

                            $("#Xin4GoodsID").val(data.Data.Xin4GoodsID);
                            $("#Xin4GoodsName").val(data.Data.Xin4GoodsName);
                            $("#Xin4GoodsModel").val(data.Data.Xin4GoodsModel);
                            $("#Xin4Qty").val(data.Data.Xin4Qty);
                            $("#Xin4LingQty").val(data.Data.Xin4LingQty);
                            $("#Xin4HuoYuanHao").val(data.Data.Xin4HuoYuanHao);
                            $("#Xin4JianYanPiHao").val(data.Data.Xin4JianYanPiHao);
                            $("#Xin4ZhiZhaoChangShang").val(data.Data.Xin4ZhiZhaoChangShang);
                            $("#Xin4XinPianMianJi").val(data.Data.Xin4XinPianMianJi);
                            $("#Xin4ZhengMianJinShu").val(data.Data.Xin4ZhengMianJinShu);
                            $("#Xin4BeiMianJinShu").val(data.Data.Xin4BeiMianJinShu);

                            $("#Xin5GoodsID").val(data.Data.Xin5GoodsID);
                            $("#Xin5GoodsName").val(data.Data.Xin5GoodsName);
                            $("#Xin5GoodsModel").val(data.Data.Xin5GoodsModel);
                            $("#Xin5Qty").val(data.Data.Xin5Qty);
                            $("#Xin5LingQty").val(data.Data.Xin5LingQty);
                            $("#Xin5HuoYuanHao").val(data.Data.Xin5HuoYuanHao);
                            $("#Xin5JianYanPiHao").val(data.Data.Xin5JianYanPiHao);
                            $("#Xin5ZhiZhaoChangShang").val(data.Data.Xin5ZhiZhaoChangShang);
                            $("#Xin5XinPianMianJi").val(data.Data.Xin5XinPianMianJi);
                            $("#Xin5ZhengMianJinShu").val(data.Data.Xin5ZhengMianJinShu);
                            $("#Xin5BeiMianJinShu").val(data.Data.Xin5BeiMianJinShu);

                            $("#Xin6GoodsID").val(data.Data.Xin6GoodsID);
                            $("#Xin6GoodsName").val(data.Data.Xin6GoodsName);
                            $("#Xin6GoodsModel").val(data.Data.Xin6GoodsModel);
                            $("#Xin6Qty").val(data.Data.Xin6Qty);
                            $("#Xin6LingQty").val(data.Data.Xin6LingQty);
                            $("#Xin6HuoYuanHao").val(data.Data.Xin6HuoYuanHao);
                            $("#Xin6JianYanPiHao").val(data.Data.Xin6JianYanPiHao);
                            $("#Xin6ZhiZhaoChangShang").val(data.Data.Xin6ZhiZhaoChangShang);
                            $("#Xin6XinPianMianJi").val(data.Data.Xin6XinPianMianJi);
                            $("#Xin6ZhengMianJinShu").val(data.Data.Xin6ZhengMianJinShu);
                            $("#Xin6BeiMianJinShu").val(data.Data.Xin6BeiMianJinShu);


                        } else {

                        }
                    }
                });
            }
            if (back == 'gz') {
                $('#ZhuoGoodsID').val(id);
                $('#ZhuoGoodsName').val(name);
                $('#ZhuoGoodsModel').val(model);
            }
            if (back == 'gm') {
                $('#MaoGoodsID').val(id);
                $('#MaoGoodsName').val(name);
                $('#MaoGoodsModel').val(model);
            }
            if (back == 'x1') {
                $('#Xin1GoodsID').val(id);
                $('#Xin1GoodsName').val(name);
                $('#Xin1GoodsModel').val(model);
            }
            if (back == 'x2') {
                $('#Xin2GoodsID').val(id);
                $('#Xin2GoodsName').val(name);
                $('#Xin2GoodsModel').val(model);
            }
            if (back == 'x3') {
                $('#Xin3GoodsID').val(id);
                $('#Xin3GoodsName').val(name);
                $('#Xin2GoodsModel').val(model);
            }
            if (back == 'x4') {
                $('#Xin4GoodsID').val(id);
                $('#Xin4GoodsName').val(name);
                $('#Xin4GoodsModel').val(model);
            }
            if (back == 'x5') {
                $('#Xin5GoodsID').val(id);
                $('#Xin5GoodsName').val(name);
                $('#Xin5GoodsModel').val(model);
            }
            if (back == 'x6') {
                $('#Xin6GoodsID').val(id);
                $('#Xin6GoodsName').val(name);
                $('#Xin6GoodsModel').val(model);
            }
        }

    </script>

</body>
</html>